<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,member-scalable=no" />
<link href="static/admin/css/H-ui.min.css" rel="stylesheet" type="text/css" />	
<link href="static/admin/css/H-ui.admin.css" rel="stylesheet" type="text/css" />	
<link href="static/admin/lib/icheck/icheck.css" rel="stylesheet" type="text/css" />	
<link href="static/admin/lib/Hui-iconfont/1.0.1/iconfont.css" rel="stylesheet" type="text/css" />	
<title>修改合作交流信息</title>
</head>
<body>
	<div class="pd-20">
		<form action="coo/edit.do" method="post" class="form form-horizontal" id="">
			
			<input type="hidden" name="COOPERATION_ID" value="${cooperation.COOPERATION_ID}" /><br />
			<div class="row cl">
				<label class="form-label col-3"><span class="c-red">*</span>标题：</label>
				<div class="formControls col-5">
					<input type="text" class="input-text" value="${cooperation.COOPERATION_TITLE }"
						id="" name="COOPERATION_TITLE" datatype="*2-16" nullmsg="">
				</div>
				<div class="col-4"></div>
			</div>
			<div class="row cl">
				<label class="form-label col-3"><span class="c-red">*</span>内容：</label>
				<div class="formControls col-5">
				<!-- 加载编辑器的容器 -->
				    <script id="container" type="text/plain" style="width:800px;height:300px;" name="COOPERATION_CONTENT">
       					 ${cooperation.COOPERATION_CONTENT}
    				</script>
				    <!-- 配置文件 -->
				    <script type="text/javascript" src="static/ueditor/ueditor.config.js"></script>
				    <!-- 编辑器源码文件 -->
				    <script type="text/javascript" src="static/ueditor/ueditor.all.js"></script>
				    <!-- 实例化编辑器 -->
				    <script type="text/javascript" style="width:800px;height:300px;" name="COOPERATION_CONTENT">
				        var ue = UE.getEditor('container');
				    </script>
					<%-- <input type="text" class="input-text"
						value="${news.NEWS_CONTENT  }" placeholder="" id=""
						name="NEWS_CONTENT" datatype="*2-16" nullmsg=""
						style="height: 100px; width: 400px"> --%>
				</div>
				<div class="col-4"></div>
			</div>

			<!-- <div class="row cl" >
      <label class="form-label col-3">新闻内容：</label>
      <div class="formControls col-5">
        <textarea name="NEWS_CONTENT" defaultValue="${news.NEWS_CONTENT  }" cols="" rows="" class="textarea"  placeholder="最少输入10个字符..." datatype="*10-100" dragonfly="true" nullmsg="新闻内容不能为空！" onKeyUp="textarealength(this,100)"></textarea>
        <p class="textarea-numberbar"><em class="textarea-length">0</em>/1000</p>
      </div>
      <div class="col-4"> </div>
    </div> -->

			<!-- <div class="row cl">
      <label class="form-label col-3"><span class="c-red">*</span>图片：</label>
      <div class="formControls col-5">
        <input type="text" class="input-text" value="${NEWS_IMG }" placeholder="" id="" name="IMG" datatype="*2-16" nullmsg="">
      </div>
      <div class="col-4"> </div>
    </div>-->
			<!--  
	<div class="row cl">
      <label class="form-label col-3"><span class="c-red">*</span>等级：</label>
      <div class="formControls col-5 skin-minimal">
    
        <div class="radio-box">
          <input type="radio" id="sex-1" value="${news.NEWS_LEVEL}" name="NEWS_LEVEL" datatype="*" nullmsg="请设置等级！" >
          <label for="sex-1">普通</label>
        </div>
        <div class="radio-box">
          <input type="radio" id="sex-2" name="NEWS_LEVEL" value="${news. NEWS_LEVEL}">
          <label for="sex-2">高级</label>
        </div>
       
      </div>
			<div class="col-4"></div>
	</div>-->
	<div class="row cl">
		<div class="col-9 col-offset-3">
			<input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
			<a class="btn btn-danger" href="coo/list.do">取消</a>	
		</div>
	</div>
	</form>
	</div>



	<script type="text/javascript"
		src="static/admin/lib/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript"
		src="static/admin/lib/icheck/jquery.icheck.min.js"></script>
	<script type="text/javascript"
		src="static/admin/lib/Validform/5.3.2/Validform.min.js"></script>
	<script type="text/javascript"
		src="static/admin/lib/layer/1.9.3/layer.js"></script>
	<script type="text/javascript" src="static/admin/js/H-ui.js"></script>
	<script type="text/javascript" src="static/admin/js/H-ui.admin.js"></script>
	<script type="text/javascript">
$(function(){
	$('.skin-minimal input').iCheck({
		checkboxClass: 'icheckbox-blue',
		radioClass: 'iradio-blue',
		increaseArea: '20%'
	});
	
	$("#form-member-add").Validform({
		tiptype:2,
		callback:function(form){
			form[0].submit();
			var index = parent.layer.getFrameIndex(window.name);
			parent.$('.btn-refresh').click();
			parent.layer.close(index);
		}
	});
});
</script>
</body>
</html>